Allow dynamic_min/dynamic_max to (temporarily) be out of sync; in practice
authorSteven Hand <steven@xensource.com>
Fri, 27 Apr 2007 13:45:06 +0000 (14:45 +0100)
committerSteven Hand <steven@xensource.com>
Fri, 27 Apr 2007 13:45:06 +0000 (14:45 +0100)
we keep them identical but non-atomically.

Signed-off-by: Steven Hand <steven@xensource.com>
tools/python/xen/xend/XendConfig.py

index daa4978eef011ed21ec137753b683222146de929..6ced067f7b4ef0704b30e0743122dffae63772be 100644 (file)
@@ -354,9 +354,6 @@ class XendConfig(dict):
         if not self["memory_static_min"] <= self["memory_static_max"]:
             raise XendConfigError("memory_static_min must be less " \
                                   "than or equal to memory_static_max") 
-        if not self["memory_dynamic_min"] <= self["memory_dynamic_max"]:
-            raise XendConfigError("memory_dynamic_min must be less " \
-                                  "than or equal to memory_dynamic_max")
         if not self["memory_static_min"] <= self["memory_dynamic_min"]:
             raise XendConfigError("memory_static_min must be less " \
                                   "than or equal to memory_dynamic_min")